package com.ciaojian.worker.model.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author Atlakyn
 */
@Data
public class ReplaceApplyParam {
    @ApiModelProperty("提交发型师Id")
    @NotNull(message = "申请人ID不能为空")
    private Integer workerId;

    @ApiModelProperty("提交发型师名称")
    @NotBlank(message = "申请人名称不能为空")
    private String workerName;

    @ApiModelProperty("所属门店ID")
    @NotNull(message = "所属门店ID不能为空")
    private Integer storeId;

    @ApiModelProperty("所属门店名称")
    @NotBlank(message = "所属门店名称不能为空")
    private String storeName;

    @ApiModelProperty("补卡时间")
    @NotNull(message = "请选择补卡时间")
    private Date replaceDate;

    @ApiModelProperty("补卡类型")
    @NotNull(message = "请选择补卡类型")
    private String type;

    @ApiModelProperty("补卡事由")
    private String reason;
}
